package com.ayoka.parenting.ui.group.report;

import com.ayoka.parenting.bean.TodayReportBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;
import com.ayoka.parenting.widget.ReportCircleProgressView;

import java.util.List;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: TodayReportTableContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class TodayReportTableContract {

    interface View extends BaseView {
        void configTodayReportData(TodayReportBean data);
    }

    interface Presenter extends BasePresenter<View> {
        void getTodayReportData(String topicId, String date);

        List<ReportCircleProgressView.CircleReportBean> getCircleReportBeanData(TodayReportBean todayReportBean);
    }

    interface Model {
        void getTodayReportData(BasePresenter presenter, String topicId, String date, RequestCallback<TodayReportBean> requestCallback);
    }
}
